package feng.demo.service;

import feng.demo.entity.Breed;
import feng.demo.entity.Type;
import feng.demo.entity.Types;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TypeService {
    List<Type> findAll();
    Type findById(Integer typeid);
    int add(Type type);
    int del(Integer typeid);
    int update(Type type);
    List<Type> findByBreedId(Integer breedid);
    List<Type> findAllLimit(Integer pagenum,Integer lines);
    List<Types> findAlls();
    int findCount();
}
